﻿namespace EFS.Common.UI.Controls.NotificationDialog
{
	/// <summary>
	/// PRogress
	/// </summary>
	public enum PorgressStatus
	{
 		InProgress,
		Completed
	}

	/// <summary>
	/// progress message
	/// </summary>
	public class ProgressMessage
	{
		/// <summary>
		/// Text
		/// </summary>
		public System.String Text { get; set; }
			
		/// <summary>
		/// Status
		/// </summary>
		public PorgressStatus Status { get; set; }
		
		/// <summary>
		/// Status text
		/// </summary>
		public System.String StatusText 
		{
			get 
			{
				// status text based on status
				switch (Status)
				{
					case PorgressStatus.Completed: { return "Completed"; }
					default : { return "In Progress"; }
				}
			} 
		}
	}
}